package com.wangcang.widgetlibrary.bean;

/**
 * @创建者 chenchao.
 * @创建时间 2016/10/22 15:10
 * @描述 ${TODO}
 */

public class WXOrderInforBean {


    /**
     * code : 0
     * msg : 成功
     * data : {"sign":"2DE7291CAE3D061D8890A3098A1C343D","timestamp":"1477274379220","partnerid":"1401609202","noncestr":"HXeYBrPZ8q3zFE4k","prepayid":"wx20161024095939cd932539140697748360","package":"Sign=WXPay","appid":"wxb716f229c6313a0e"}
     */

    private String code;
    private String msg;
    /**
     * sign : 2DE7291CAE3D061D8890A3098A1C343D
     * timestamp : 1477274379220
     * partnerid : 1401609202
     * noncestr : HXeYBrPZ8q3zFE4k
     * prepayid : wx20161024095939cd932539140697748360
     * package : Sign=WXPay
     * registerType = GS
     * appid : wxb716f229c6313a0e
     */

    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * appid : wxb4ba3c02aa476ea1
         * noncestr : 6417d6021ebe19b52326f416ec011fe8
         * package : Sign=WXPay
         * partnerid : 1305176001
         * prepayid : wx201608151622327ff8365aa20441459378
         * sign : 28CAEC284FFD05D7A0345422F891C001
         * timestamp : 1471249352
         */

        private String appid;
        private String noncestr;
//        @com.google.gson.annotations.SerializedName("package")
        private String packageX;
        private String partnerid;
        private String prepayid;
        private String sign;
        private String timestamp;
        private String registerType;
        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }

        @Override
        public String toString() {
            return "OrderInfo{" +
                    "appid='" + appid + '\'' +
                    ", noncestr='" + noncestr + '\'' +
                    ", packageX='" + packageX + '\'' +
                    ", partnerid='" + partnerid + '\'' +
                    ", prepayid='" + prepayid + '\'' +
                    ", sign='" + sign + '\'' +
                    ", timestamp=" + timestamp +
                    '}';
        }

        public String getRegisterType() {
            return registerType;
        }

        public void setRegisterType(String registerType) {
            this.registerType = registerType;
        }
    }
}
